Contents | Index | < Browse | Browse >
LETTERva_startULETTER
Begins varying-length argument list processing.
#include <stdarg.h>
va_start(vl,LASTPAR);
va_list vl; // argument list
LASTPAR; // the name of the last argument with known type
Portability
ANSI
Description
Initializes a function's varying-length argument list.
The "va_start" macro initializes the "vl" variable using the function's
last parameter whose type is known.
You must use this macro as only using it grants correct usage of the
arguments, particularly in inlined functions and portable programs.
See also
va_arg , va_end